{foreach from=$goods item="good"}
	{if $good.type_of_value=='smalldocum'}
		{include file="admin/modules/forum/fields/smalldocum.tpl"}
	{elseif $good.type_of_value=='docum'}
		{include file="admin/modules/forum/fields/docum.tpl"}
	{elseif $good.type_of_value=='text'}
		{include file="admin/modules/forum/fields/text.tpl"}
	{elseif $good.type_of_value=='textarea'}
		{include file="admin/modules/forum/fields/textarea.tpl"}
	{elseif $good.type_of_value=='file'}
		{include file="admin/modules/forum/fields/file.tpl"}
	{elseif $good.type_of_value=='flash'}
		{include file="admin/modules/forum/fields/flash.tpl"}
	{elseif $good.type_of_value=='date'}
		{include file="admin/modules/forum/fields/date.tpl"}
	{elseif $good.type_of_value=='chekbox'}
		{include file="admin/modules/forum/fields/chekbox.tpl"}
	{elseif $good.type_of_value=='image'}
		{include file="admin/modules/forum/fields/image.tpl"}
	{elseif $good.type_of_value=='select'}
		{include file="admin/modules/forum/fields/select.tpl"}
	{/if}
{/foreach}